package cn.springcloudandalibaba.service;

import cn.springcloudandalibaba.dao.MallOrder;
import org.springframework.web.bind.annotation.*;

@RequestMapping("/order")
public interface IOrderService {
    @PostMapping("/insertOrder")
    int InsertOrder(@RequestBody MallOrder mallOrder);
    @PutMapping("/updateOrder")
    void  UpdateOrder(@RequestBody MallOrder mallOrder);
    @GetMapping("/selectOrder")
    MallOrder  SelectOrder(@RequestParam("id") int orderId);
}
